package com.controller
{
	import com.adobe.cairngorm.control.FrontController;
	import com.commands.LoginCommand;
	import com.commands.CargarCommand;	
	import com.commands.ChangeJornadaCommand;

	public class Controller extends FrontController
	{
		public static const EVENT_LOGIN:String="login";
		public static const EVENT_CHANGE_JORNADA:String="changeJornada";
		public static const EVENT_CARGAR:String="cargar";		
		
		public function Controller()
		{
			//addCommand(Controller.EVENT_XX_YY, xxyyCommand);
			addCommand(Controller.EVENT_LOGIN, LoginCommand);
			addCommand(Controller.EVENT_CHANGE_JORNADA, ChangeJornadaCommand);	
			addCommand(Controller.EVENT_CARGAR, CargarCommand);			
			
		}
	}
}